package com.xy.cloud.domain.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("user_order")
public class Order {

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    private String accountCode;

    private BigDecimal amount;

    private String orderNo;

    private String status;


}
